#!/bin/bash

temp=tempFileForAcceptTest
user=nodewiz
machine=`hostname -f`

echo "Initializing the rmiregistry at " $machine
rmiregistry &

#Chamar main do TestAgent
#It is necessary to initiate the Jabber server before of run the test
#wildfire stop; wildfire start
#sleep 8

#java -cp $CLASSPATH:../classes/ org/ourgrid/nodewiz/NodeWizFacade "../conf/configuration.properties" -startup &
#sleep 2

#java -cp $CLASSPATH:../classes/ org/ourgrid/nodewiz/NodeWizFacade "../conf/configuration.properties" -advert adverts/resource1
#java -cp $CLASSPATH:../classes/ org/ourgrid/nodewiz/NodeWizFacade "../conf/configuration.properties" -advert adverts/resource2
#java -cp $CLASSPATH:../classes/ org/ourgrid/nodewiz/NodeWizFacade "../conf/configuration.properties" -query "" > $temp

